home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Education / PC-SiG's World of Education.iso / run / 2602 / menuedit.hlp < prev    next >
Encoding:
Text File  |  1989-06-02  |  8.0 KB  |  166 lines

  1. DAN includes a screen oriented text editor for creating and modifying
  2. algorithms and short ASCII data files.  It can also be used for editing
  3. or examining any ASCII file that is less than 30,000 characters in
  4. length.
  5.  
  6. Text is shown on the screen and scrolls as you move through the
  7. file.  The screen cursor shows the location within the text where
  8. `actions' occur; e.g.  the point where characters will be inserted. 
  9. Movement through the file is accomplished using the cursor control
  10. keys, Home, End, and the Page Up and Page Down keys.
  11.  
  12. The editor displays a menu bar under the main DAN menu that shows the
  13. editing functions it can perform.  These functions are selected by
  14. typing the first letter of the action name; e.g. `F' to find a specified
  15. pattern of characters within the text.  The editor will beep if an
  16. unrecognized command is entered.  The menu bar is replaced by a help
  17. line when insert or exchange modes are in effect.
  18. +
  19. The editor interprets characters entered from the keyboard as commands
  20. until an `I',`X', or the `Ins' key is entered.  The `Insert' command
  21. stops DAN from interpreting each character as a command and causes
  22. subsequent characters to be inserted in the text at the current cursor
  23. location.  The `Xchange' command also suppresses command
  24. interpretation, but it causes subsequent typed characters to be
  25. exchanged for the character under the cursor (i.e.  overtype).  Use the
  26. `Ins' key to toggle between insert and exchange mode.
  27.  
  28. Function keys, such as `F4' to execute the algorithm, are recognized
  29. during insert/exchange mode.  Use the `Esc' key to stop the
  30. insert/exchange mode and return to the command entry mode.
  31. +
  32.                   TEXT EDITOR KEYS
  33.                   ----------------
  34. DAN's text editor recognizes the following keys:
  35.  
  36. CURSOR MOVEMENT KEYS
  37. --------------------
  38. cursor left, right     Move the active editing point left or right
  39.                        by one character.
  40.  
  41. cursor up, down        Move the active editing point up or down one line.
  42.                        If at the top or bottom of the screen then the
  43.                        text will scroll appropriately by one line.
  44.  
  45. PgUp, PgDn             Move active editing point up or down by 21 lines;
  46.                        i.e. by one page.
  47.  
  48. Home, End              Move to beginning or end of current line.
  49.  
  50. Ctrl-Home, Ctrl-End    Move to beginning or end of file.
  51. +
  52. EDITING FUNCTIONS
  53. -----------------
  54. Del         Delete the character at the current cursor location.
  55.  
  56. Backspace   Delete the character to the left of the cursor's location.
  57.  
  58. I, Ins      Enable insert mode.  Subsequent characters entered from the
  59.             keyboard will be inserted in the text at the current cursor
  60.             location.  Toggle between insert and exchange mode with the
  61.             `Ins' key.  Insert mode is disabled with the `Esc' key.
  62.  
  63. X, Ins      Enable exchange mode.  Subsequent characters entered from
  64.             the keyboard will overtype the text at the current cursor
  65.             location.  Toggle between insert and exchange mode with the
  66.             `Ins' key.  Exchange mode is disabled with the `Esc' key.
  67. +
  68. D           Delete a block of text from the current cursor location to
  69.             a specified end point.  The end point is indicated by
  70.             hitting the `D' key again after having moved the cursor to
  71.             a position one character past the last character to be
  72.             deleted.
  73.  
  74.             Use the `Esc' key to cancel a delete operation.
  75.  
  76.             Deleted text is saved in a paste buffer and may be
  77.             re-inserted using the Paste function.  Use the Delete and
  78.             Paste functions to move a block of text from one place to
  79.             another.
  80.  
  81. C           Copy a block of text to the paste buffer.  This function is
  82.             used, along with the Paste function, to duplicate text
  83.             without deleting the original text block.  Cancel a copy
  84.             operation with the `Esc' key.
  85. +
  86. P           Insert the contents of the paste buffer at the current
  87.             cursor location.  Use in conjunction with Copy and Delete
  88.             functions.
  89.  
  90. F           Find a pattern of characters in the text.  Cursor will be
  91.             moved to the next place where the specified Find string
  92.             is located (or a `Text not found' message will be output).
  93.             Cancel without performing the Find operation, by using the
  94.             `Esc' key.  Hit `F4' to perform the Find operation.  Use
  95.             the Again function to find the next occurrence.
  96.  
  97. R           Replace one text string with another.  Previously entered
  98.             text patterns are saved and may be edited using the cursor
  99.             control keys, the Home and End keys, and the Del,
  100.             Backspace, and Ins keys.  Cancel with the `Esc' key.   Use
  101.             the Again function to repeat the Replace operation.
  102. +
  103. A           Repeat the last Find or Replace operation (i.e. whichever
  104.             operation was performed last) using the parameters that
  105.             were previously entered for the Find or Replace.
  106.  
  107. E           Display next error found during the last compilation of the
  108.             algorithm.  Hit `E' to move to successive error locations.
  109.  
  110. K           Perform an error check on the current algorithm and show
  111.             successive error messages (up to the first 10 errors).  The
  112.             error message will appear above and to the right of the spot
  113.             in the algorithm where DAN detected the error; that is, the
  114.             lower left corner of the error message box is DAN's best
  115.             guess at the location of the error.
  116.  
  117. H           Display help information for key words in the algorithm.
  118.             Use the cursor keys to highlight the keyword or variable
  119.             that you wish information on.  Hit `Enter' or `F1' to see
  120.             the help information.  Use `Esc' to cancel Help mode.
  121.  
  122. Q, Esc      Exit the editor and return to DAN's top level menu.
  123. +
  124. FUNCTION KEYS
  125. -------------
  126. F1          Show help information for DAN's text editor.
  127.  
  128. F2          Save the current text file.  You are given the option to
  129.             specify a new name for the file.  The current file name (if
  130.             any) is the default name.  The default name may be edited
  131.             in the same manner as the Find and Replace text patterns. 
  132.             Hit `F4' when you have completed entering the file and path
  133.             names.  If no path name is given then the current directory
  134.             will be used.
  135. +
  136. F3          Reload/load a new text file.  You may specify a file and
  137.             path name.  Hit `F4' to perform the load operation when the
  138.             form shows the desired file and path names.
  139.  
  140.             Alternatively, you may enter a file name containing the DOS
  141.             wildcard characters (`*' and `?'), or leave the file name
  142.             blank (equivalent to entering `*.ALG').  If wildcards are
  143.             used or the file name is blank, hit `F10' (not `Enter' or
  144.             `F4') to see the possible choices that match the ambiguous
  145.             file name.  Then use the cursor keys, `PgUp', `PgDn',
  146.             `Home', or `End' to highlight one of the choices and hit
  147.             `Enter' to load that file.
  148.             
  149. +
  150. F4          Execute the current algorithm.  After execution is
  151.             complete, control returns to the text editor.
  152.  
  153. F5          Clear the algorithm; i.e.  reset the algorithm buffer to
  154.             blanks and delete the name.  You will be asked to verify
  155.             your Clear request before the operation is executed.
  156.             Enter `Y' (or `y') to proceed.  Any other character will
  157.             cancel the Clear request.
  158.  
  159. F10         Show a list of DAN's keywords.  Help information on each
  160.             keyword is available by using the cursor keys to move the
  161.             highlight to any word on the screen and then hitting `F1'
  162.             or `Enter'.
  163.  
  164. Shift-F2    Invoke any of DAN's forms, for example, to examine or
  165.             modify the processing duration.
  166.